//
//  Bool+SGExtension.swift
//  QingLiuSwift
//
//  Created by xyanl on 2024/11/14.
//  Copyright © 2024 考拉🐨. All rights reserved.
//

import UIKit

extension Bool {
    
    /// Bool 值转 Int
    var toInt: Int {
        self ? 1: 0
    }
}
